package priv.menguer.visitor.service.impl;

import priv.menguer.visitor.service.ComputerPartVisitor;

/**
 * @Title ComputerPartDisplayVisitor.java
 * @description TODO
 * @time 2018年10月26日 上午11:52:52
 * @author menguer@126.com
 * @version 1.0
 */
public class ComputerPartDisplayVisitor implements ComputerPartVisitor {

	@Override
	public void visit(Computer computer) {
		System.out.println("Displaying Computer.");
	}

	@Override
	public void visit(Mouse mouse) {
		System.out.println("Displaying Mouse.");
	}

	@Override
	public void visit(Keyboard keyboard) {
		System.out.println("Displaying Keyboard.");
	}

	@Override
	public void visit(Monitor monitor) {
		System.out.println("Displaying Monitor.");
	}
}
